package ssx.demo.nacos_consumer.myfeign;


import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@FeignClient(name = "nacosclientdemo1" ,fallback = FImpl.class)
public interface F {

    //这里的value值要和 生产者的url一模一样
    @RequestMapping(value = "/hainacos",method = RequestMethod.GET)
    String hello();
}
